package com.woan.api.services;

import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.woan.api.util.DateJsonValueProcessor;
import com.woan.api.util.PushAsync;
import com.woan.api.vo.VmessageList;
import com.woan.api.idao.SysAdmininfoIDAO;
import com.woan.api.idao.SysUpgradeIDAO;
import com.woan.api.model.SysAdmininfo;
import com.woan.api.model.SysUpgrade;


import net.sf.json.JSONArray;
import net.sf.json.JSONObject;
import net.sf.json.JsonConfig;



public class UpgradeClientServices {

	private SysUpgradeIDAO sysupgradeiDAO;


	public SysUpgradeIDAO getSysupgradeiDAO() {
		return sysupgradeiDAO;
	}
	public void setSysupgradeiDAO(SysUpgradeIDAO sysupgradeiDAO) {
		this.sysupgradeiDAO = sysupgradeiDAO;
	}
	public SysUpgrade listNewVersion(String os,String vername){
		SysUpgrade sysupgrade= null;
		sysupgrade = sysupgradeiDAO.FindNewVersion(os, vername);
		return sysupgrade;
	}


}
